<template>
    <div class='myBody' >
        <!-- 匿名插槽 -->
        <!-- <slot></slot> -->

        <!-- 具名插槽 -->
        <nav>
            <slot name="nav" ></slot>
        </nav>
        <div>
            <slot></slot>
        </div>
        <footer>
            <slot name="footer" ></slot>
        </footer>
    </div>
</template>

<script>
    export default {
        
    }
</script>

<style lang="scss" scoped>

</style>